Repository navigation
Add OPcache restart hook - #15590
Add OPcache restart hook#15590
Conversation
72527d9 to
aa02ce7
Compare
dstogov
left a comment
There was a problem hiding this comment.
If this callback is really necessary:
- you should select a good place for it. I think it shouldn't be done under the exclusive lock.
- instead of
DL_FETCH_SYMBOL()magic, it's better to declare the callback inzend.handzend.c.
I'd need to try my prototype usage of that hook on x86 (so far only tested on aarch64), but the pointer that I can
It would remove the |
|
Hey there @dstogov can you have a look again? Would be great having this in 8.4 |
Hey folks,
adding to #15543 which allows access to OPcache shared globals, this hook will allow observing extensions to observe the actual OPcache restart using this code snippet:
CC: @arnaud-lb